/*
 * =====================================================================================
 * Copyright (C) 2023 Ingenic Semiconductor Co.,Ltd
 * All Rights Reserved
 *
 * Filename     : tick.h
 * Author       : Keven <keven.ywhan@ingenic.com>
 * Created      : 2024/06/19 14:10
 * Description  :
 *
 * =====================================================================================
 */

#ifndef __TICK_H__
#define __TICK_H__

uint32_t timer_init(void);
uint64_t get_sys_tick();
uint64_t get_cycle();
uint64_t get_cycle_us();
void udelay(uint32_t udelay);
void mdelay(uint32_t mdelay);

#endif /* __TICK_H__ */
